#{extends 'main.html' /}
#{ifErrors} 
	${error} 
#{/ifErrors}

<form action="@{Application.addUser()}" method="POST">
<table border="0">
<tr>
<th>Nick name*</th>
<td>
<div>
   <input name="name" id="fname" type="text" width="200" " />
   <span style="color: #c00" class="error">#{error 'name' /}</span>
</div>
</td>
</tr>

<tr>
<th scope="row">E-Mail*:</th>
<td><div>
		<input name="email" id="email" type="text" width="200"/>
		<span style="color: #c00" class="error">#{error 'email' /}</span>
</div></td>
</tr>

<tr>
<th scope="row"> Confirm email*:</th>
<td><div>
		<input name="remail" id="remail" type="text" width="200"/>
		<span style="color: #c00" class="error">#{error 'remail' /}</span>
</div></td>
</tr>

<tr>
	<th scope="row">Password*:</th>

	<td>
	<div>
	<input name="pass" id="password" type="password" width="200"/>
	<span style="color: #c00" class="error">#{error 'pass' /}</span>
    </div>
    </td>
</tr>
<tr>
	<th scope="row">Confirm Password*:</th>

	<td>
	<div>
	<input name="rpass" id="confirmPw" type="password" width="200"/>
	<span style="color: #c00" class="error">#{error 'rpass'/}</span>
    </div>
    </td>
</tr>
</table>
<input type="submit" value="Register"/>
</form>
